import{d as b,l as _,V as f,a as o,o as h,b as y,w as i,q as l,W as g,e as a,m as V,f as w}from"./index-c80Lh_is.js";import{N as x}from"./NavTabs-Gqjwuy8q.js";const C=b({__name:"BuiltinGatewayDetailTabsView",setup(R){var c;const{t:m}=_(),d=(((c=f().getRoutes().find(t=>t.name==="builtin-gateway-detail-tabs-view"))==null?void 0:c.children)??[]).map(t=>{var n,e;const r=typeof t.name>"u"?(n=t.children)==null?void 0:n[0]:t,s=r.name,u=((e=r.meta)==null?void 0:e.module)??"";return{title:m(`builtin-gateways.routes.item.navigation.${s}`),routeName:s,module:u}});return(t,r)=>{const s=o("RouteTitle"),u=o("RouterView"),p=o("AppView"),n=o("RouteView");return h(),y(n,{name:"builtin-gateway-detail-tabs-view",params:{mesh:"",gateway:""}},{default:i(({route:e})=>[a(p,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:"builtin-gateway-list-view",params:{mesh:e.params.mesh}},text:l(m)("builtin-gateways.routes.item.breadcrumbs")}]},{title:i(()=>[V("h1",null,[a(g,{text:e.params.gateway},{default:i(()=>[a(s,{title:l(m)("builtin-gateways.routes.item.title",{name:e.params.gateway})},null,8,["title"])]),_:2},1032,["text"])])]),default:i(()=>[w(),a(x,{tabs:l(d)},null,8,["tabs"]),w(),a(u)]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{C as default};
